

            function addArduinoCod (Blockly) {
            
                        

                        
        Blockly.Arduino['EXT_PHOTO_SENSITIVE_BLOCK_1608014182110'] = function(block)
        {
            let pin = this.getFieldValue('pin');
          
            Blockly.Arduino.definitions_['include_EXT_PHOTO_SENSITIVE_BLOCK_1608014182110'] = ``;
            Blockly.Arduino.definitions_['define_EXT_PHOTO_SENSITIVE_BLOCK_1608014182110'] = `#define PhotosensitivePin${pin}  ${pin}`;
            Blockly.Arduino.definitions_['setup_EXT_PHOTO_SENSITIVE_BLOCK_1608014182110'] = ``;
             return  [`analogRead(PhotosensitivePin${pin})`];
        }
                    
            return Blockly;
            }

            module.exports = addArduinoCod ;

        